/**
 * Created by wen.gao on 2017/5/7.
 * validate some params
 */

var validate = {};

validate.isEmpty = function(sth) {
    if(sth == null || sth == undefined || sth == "") {
        return true;
    } else {
        return false;
    }
};

module.exports = validate;

